﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Gui
{
    public partial class Hovedform : Form
    {
        public Hovedform()
        {
            InitializeComponent();
        }

        private void tableLayoutPanel1_Paint(object sender, PaintEventArgs e)
        {
           
        }  
         
        

        private void tableLayoutPanel1_Paint_1(object sender, PaintEventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            panel2.Visible = false;
            panel1.Visible = true;
            
        }

       

        private void button3_Click(object sender, EventArgs e)
        {

        }

        private void panel1_Paint(object sender, PaintEventArgs e)
        {

        }

        private void button6_Click(object sender, EventArgs e)
        {
            listBox1.Items.Clear();
            string str = "Varenr: 43950 - Samsung SCX-3400 - Pris 699 -  Lagerstk : 44";
            listBox1.Items.Add(str);

            
        }

        private void button11_Click(object sender, EventArgs e)
        {
            listBox1.Items.Clear();
            string str = "Varenr: 12049 - Samsung N210 10.1 Netbook - Pris 2999 -  Lagerstk : 87";
            listBox1.Items.Add(str);
            string str1 = "Varenr: 79438 - Toshiba Equium L30-149 - Pris 1234 -  Lagerstk : 23";
            listBox1.Items.Add(str1);
            string str2 = "Varenr: 45643 - Toshiba Satellite A210-19P - Pris 2499 -  Lagerstk : 10";
            listBox1.Items.Add(str2);
        }

        private void button7_Click(object sender, EventArgs e)
        {
            listBox1.Items.Clear();
            string str = "Varenr: 20394 - MLT-D101S Toner - Pris 452 -  Lagerstk : 33";
            listBox1.Items.Add(str);
        }

        private void button14_Click(object sender, EventArgs e)
        {
            listBox1.Items.Clear();
        }

        private void button5_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void button8_Click(object sender, EventArgs e)
        {
            listBox1.Items.Clear();
            string str = "Varenr: 23948 - Dlink DIR-615 - Pris 299 -  Lagerstk : 249";
            listBox1.Items.Add(str);

        }

        private void button10_Click(object sender, EventArgs e)
        {
            listBox1.Items.Clear();
            string str = "Varenr: 59303 - Medion P97874 NAS 1,5 TB - Pris 1099 -  Lagerstk : 329";
            listBox1.Items.Add(str);

        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void button13_Click(object sender, EventArgs e)
        {
            listBox1.Items.Clear();
            string str = "Varenr: 20392 - Seagate Ekstern 2 TB - Pris 999 -  Lagerstk : 248";
            listBox1.Items.Add(str);
        }

        private void button12_Click(object sender, EventArgs e)
        {
            listBox1.Items.Clear();
            string str = "Varenr: 95392 - Zotac zbox ID11 Barebone - Pris 1657 -  Lagerstk : 498";
            listBox1.Items.Add(str);
        }

        private void button9_Click(object sender, EventArgs e)
        {
            listBox1.Items.Clear();
            string str = "Varenr: 89764 - Sony KDL-32BX300 - Pris 2449 -  Lagerstk : 888";
            listBox1.Items.Add(str);
        }

        private void button2_Click(object sender, EventArgs e)
        {
            
            panel3.Visible = false;
            panel2.Visible = true;
            
             }

        private void panel2_Paint(object sender, PaintEventArgs e)
        {
           
        }

        private void button24_Click(object sender, EventArgs e)
        {
            Boxpanel2.Items.Clear();
        }

        private void Button16_Click(object sender, EventArgs e)
        {
            Boxpanel2.Items.Clear();
            string str = "Samsung SCX-3400:";
            string str1 = "Samsung SCX-3400 er en monokrom laserprinter";
            Boxpanel2.Items.Add(str);
            Boxpanel2.Items.Add(str1);
        }

        private void lager_Click(object sender, EventArgs e)
        {
            
            panel3.Visible = true;
           
        }

        private void Ryd_Click(object sender, EventArgs e)
        {
            Boxpanel3.Items.Clear();
        }

        private void panel3_Paint(object sender, PaintEventArgs e)
        {
            panel1.Visible = false;
            panel2.Visible = false;
            panel3.Visible = true;
        } 
    }
}
